.\"   $Id: viewrfmseg.3,v 1.1 2002/03/13 13:37:38 fred Exp $
.\" @(#)viewrfmseg.1 1.11 93/08/18 ; Labo masi cao-vlsi
.if t \{\
.so man1/alc_contents.mac
.XS \n%
.ti 0.2i
viewrfmseg
.XE
.XS0 \n%
.ti 0.2i
viewrfmseg
.XE0 \}
.TH VIEWRFMSEG 3 "October 1, 1997" "ASIM/LIP6" "RDS PHYSICAL FUNCTIONS"
.SH NAME
viewrfmseg \- displays segment caracteristics in MBK and RDS format.
.so man1/alc_origin.1
.SH SYNOPSIS
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "rfmnnn.h"
 void viewrfmseg( Segment, Rectangle )
    phseg_list  \(**Segment;
    rdsrec_list \(**Rectangle;
.ft R
.fi
.SH PARAMETER
.TP 20
\fISegment\fP
MBK segment to visualizate. 
.TP
\fIRectangle\fP
RDS segment to visualizate.
.SH DESCRIPTION
The \fIviewrfmseg\fP function displays caracteristics of a segment in MBK and RDS format.
.SH RETURN VALUE
nothing
.SH ERRORS
none
.SH EXAMPLE
.ta 3n 6n 9n 12n 15n 18n 21n
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
        #include "mphnnn.h"
        #include "mutnnn.h"
        #include "rdsnnn.h"
        #include "rfmnnn.h"
        #include "rtlnnn.h"
        typedef struct UserStruct
         {
           char \(**STRING;
           void \(**USER1;
         } UserStruct;
        main()
          {
            phfig_list  \(**MbkFigure;
            rdsfig_list \(**RdsFigure;
            rdsrec_list \(**RdsSegment;
            mbkenv();
            rdsenv();
            loadrdsparam();
            RdsFigure =
                addrdsfig ("core",sizeof ( UserStruct ) );
            MbkFigure->PHSEG =
                addphseg ( MbkFigure, ALU1, 1, 1, 1, 2, 12, "seg_alu1");
            RdsSegment = segmbkrds(RdsFigure, MbkFigure->PHSEG,0);
            /\(** \(**/ \fBviewrfmseg\fP ( MbkFigure->PHSEG, RdsSegment );            
          }
.ft R
.fi
.SH SEE ALSO
.BR librfm,
.BR segmbkrds,
.BR inssegmbkrds


.so man1/alc_bug_report.1

